package com.test.web.dao;

import com.test.web.entity.Backuser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author heyanjing
 * date:2020-07-03 2020/7/3:9:58
 */
public interface BackuserDao {

    int deleteByPrimaryKey(String backUserId);

    int insert(Backuser record);

    int insertOrUpdate(Backuser record);

    int insertOrUpdateSelective(Backuser record);

    int insertSelective(Backuser record);

    Backuser selectByPrimaryKey(String backUserId);

    int updateByPrimaryKeySelective(Backuser record);

    int updateByPrimaryKey(Backuser record);

    int updateBatch(List<Backuser> list);

    int batchInsert(@Param("list") List<Backuser> list);

    Backuser getByAccount(@Param("account") String account);

}